<%-- 
    Document   : index
    Created on : Sep 24, 2009, 8:18:58 PM
    Author     : sayid
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Insert User</h1>
        <form action="UserAdder" method="post">
            user name: <input type="text" name="userName" />
            password: <input type="password" name="password" />
            <br/>
            <input type="submit" value="submit"/>
        </form>

        <h1>Change Password</h1>
        <form action="ChPassword" method="post">
            user name: <input type="text" name="userName" />
            password: <input type="password" name="password" />
            <br/>
            <input type="submit" value="submit"/>
        </form>

        <h1>Delete User</h1>
        <form action="DelUser" method="post">
            user name: <input type="text" name="userName" />
            <input type="submit" value="submit"/>
        </form>

        <h1>Add Personal Buddy</h1>
        <form action="AddBuddyToUser" method="post">
			owner user name: <input type="text" name="ownerName">
            user login name: <input type="text" name="loginName" />
            <input type="submit" value="submit"/>
        </form>

        <h1>Add Buddy Group</h1>
        <form action="AddBuddyGroup" method="post">
            owner name: <input type="text" name="ownerName" />
            buddy path: <input type="text" name="buddyPath" />
            <input type="submit" value="submit"/>
        </form>

        <h1>Add Person Buddy to Group</h1>
        <form action="AddBuddyToGroup" method="post">
            buddy path: <input type="text" name="buddyPath" />
            login name: <input type="text" name="loginName" />
            <input type="submit" value="submit"/>
        </form>

        <h1>Delete Buddy</h1>
        <form action="DelBuddy" method="post">
            buddy path: <input type="text" name="buddyPath" />
            <input type="submit" value="submit"/>
        </form>

        <h1>Move Buddy</h1>
        <form action="MoveBuddy" method="post">
            object path : <input type="text" name="objPath" />
            to path: <input type="text" name="toPath" />
            <input type="submit" value="submit"/>
        </form>
		<h1><a href="users.jsp">users</a> </h1>
		<h1><a href="ListBuddies">buddies list</a> </h1>

        <h1>Upload File</h1>
        <form action="Test01" enctype="MULTIPART/FORM-DATA" method=post>
            select a file:<input type="file" name="filename" />
            <br/>
            <input type="submit" value="submit"/>
        </form>
    </body>
</html>
